package today.rocky.memory.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import today.rocky.memory.domain.QuoteOption;
import today.rocky.memory.domain.QuoteOptionExample;
/**
 * @author Rocky
 */
@Mapper
@Repository
public interface QuoteOptionMapper {
    long countByExample(QuoteOptionExample example);

    int deleteByExample(QuoteOptionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(QuoteOption record);

    int insertSelective(QuoteOption record);

    List<QuoteOption> selectByExampleWithBLOBs(QuoteOptionExample example);

    List<QuoteOption> selectByExample(QuoteOptionExample example);

    QuoteOption selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") QuoteOption record, @Param("example") QuoteOptionExample example);

    int updateByExampleWithBLOBs(@Param("record") QuoteOption record, @Param("example") QuoteOptionExample example);

    int updateByExample(@Param("record") QuoteOption record, @Param("example") QuoteOptionExample example);

    int updateByPrimaryKeySelective(QuoteOption record);

    int updateByPrimaryKeyWithBLOBs(QuoteOption record);

    int updateByPrimaryKey(QuoteOption record);
}